
import {useNavigate} from 'react-router'
export default function useShowDetail() {
  const navigator = useNavigate()
  const goToSongDetail = (id) => {
    navigator(`/discover/song/${id}`)
  }
  return goToSongDetail
}